//
// Created by ls on 23-12-22.
//
#include <iostream>
#include <string>

void test01()
{
  std::string str = "hello";

  // 插入
  str.insert(1, "111");
  std::cout << "str = " << str << std::endl;

  // 删除
  str.erase(1, 3);
  std::cout << "str = " << str << std::endl;
}

int main()
{
  test01();
  return 0;
}